package com.sscw.task.mapper;

import com.guaike.core.mybatis.plugins.BaseExtMapper;
import com.sscw.task.entity.GRecordGamePO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 游戏记录表 Mapper 接口
 * </p>
 *
 * @author system
 * @since 2024-10-25
 */
public interface GRecordGameExtMapper extends BaseExtMapper<GRecordGamePO> {
    List<GRecordGamePO> findRankRecord(@Param("roomType") Integer roomType,@Param("yesToday") LocalDate yesToday,@Param("size") Integer size);

    List<GRecordGamePO> findPinenutRank(@Param("startTime")LocalDateTime startTime, @Param("endTime")LocalDateTime endTime,@Param("tenantId")String tenantId, @Param("size") Integer size);
}
